package com.hehao.java_basic.design_mode.behaviour.chain_of_responsibility.practice;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Damon
 * @date 2023/6/30
 * 回执处理容器
 */
public class ReceiptHandlerContainer {
    public ReceiptHandlerContainer() {
    }

    public static List<IReceiptHandler> getReceiptHandlerList(){
        List<IReceiptHandler> receiptHandlerList = new ArrayList<>();
        receiptHandlerList.add(new Mt2101ReceiptHandler());
        receiptHandlerList.add(new Mt8104ReceiptHandler());
        receiptHandlerList.add(new Mt9999ReceiptHandler());
        return receiptHandlerList;
    }
}
